
import http from "@/utils/request";

export default{
  /**
   * 查询列表
   * @param  params
   * @returns
   */
  async getBiaoTou(pageNo, pageSize,startDate, endDate){
    return await http.get("/api/scTrqsy/listBiaoTou", {pageNo, pageSize, startDate, endDate});
  },
  /**
   * 添加
   * @returns
   */
  async add(params){
    return await http.post("/api/scTrqsy/add",params)
  },
  /**
   * 修改
   * @returns
   */
  async update(params){
    return await http.put("/api/scTrqsy/update",params)
  },

  //删除
  async delete(params) {
    return await http.deleteByObject('/api/scTrqsy/delete', params);

  },
}
